#ifndef CIRRLICHTWINDOW_H
#define CIRRLICHTWINDOW_H

#include <irrlicht.h>
#include <QObject>

using namespace irr;

class CIrrlichtWindow : public QObject
{
	Q_OBJECT

public:
	CIrrlichtWindow(QObject* parent);
	~CIrrlichtWindow();

	// This returns the SceneNode's attributes
	irr::io::IAttributes* createAttributes();

public slots:
	void onAttributesChangedByEditor(irr::io::IAttributes* attributes);
	void run();

protected:
	IrrlichtDevice* Device;
	irr::video::IVideoDriver* Driver;
	irr::scene::ISceneManager* SceneManager;

	irr::scene::IAnimatedMeshSceneNode* SceneNode;
};

#endif // CIRRLICHTWINDOW_H
